package icu.qx.pbs.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物品分类对象 gbs_good_class
 * 
 * @author ruoyi
 * @date 2024-06-06
 */
public class GbsGoodClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long gcId;

    /** 是否为物料分类 0 不是 1 是 */
    private String gcMaterial;

    /** 父id */
    private Long gcFid;

    /** 分类名 */
    @Excel(name = "分类名")
    private String gcName;

    /** 备注 */
    @Excel(name = "备注")
    private String gcDesc;

    public void setGcId(Long gcId) 
    {
        this.gcId = gcId;
    }

    public Long getGcId() 
    {
        return gcId;
    }
    public void setGcMaterial(String gcMaterial) 
    {
        this.gcMaterial = gcMaterial;
    }

    public String getGcMaterial() 
    {
        return gcMaterial;
    }
    public void setGcFid(Long gcFid) 
    {
        this.gcFid = gcFid;
    }

    public Long getGcFid() 
    {
        return gcFid;
    }
    public void setGcName(String gcName) 
    {
        this.gcName = gcName;
    }

    public String getGcName() 
    {
        return gcName;
    }
    public void setGcDesc(String gcDesc) 
    {
        this.gcDesc = gcDesc;
    }

    public String getGcDesc() 
    {
        return gcDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gcId", getGcId())
            .append("gcMaterial", getGcMaterial())
            .append("gcFid", getGcFid())
            .append("gcName", getGcName())
            .append("gcDesc", getGcDesc())
            .toString();
    }
}
